package com.njtoyo.taxi.admin.mapper.master.enums.local_service;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum LifeAddressCategory {
    merchant_address(0, "商家地址"),
    pickup_location(1, "自提点");

    @EnumValue
    private final int code;
    private final String desc;

    LifeAddressCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
